package com.fxp.project.jiuselu.web.models.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fxp.project.jiuselu.web.models.user.entity.JslUserOauth;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 三方平台认证信息 Mapper 接口
 * </p>
 *
 * @author Jason.Wang
 * @since 2021-12-26
 */
public interface JslUserOauthMapper extends BaseMapper<JslUserOauth> {

    List<JslUserOauth> selectJslUserOauthByopenId(@Param("openId") String openId, @Param("oauth") String oauth);

    public int updateUserOauth(JslUserOauth userOauth);

    public int updateUserIdByOpenId(@Param("userId") Long userId,@Param("openId") String openId);
}
